package io.jsen.meta.diff.diff;

import io.jsen.meta.diff.feature.annotation.MetaFieldFeature;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;

/**
 * @author jsen
 * @date 2021/09/18
 **/
@Data
public class AllTypeContainer {
    @MetaFieldFeature(uniqueKey = true)
    private String index;
    private Long id;
    private String name;
    private Integer age;
    private Byte sex;
    private Boolean funny;
    private Character desc;
    private Double weight;
    private Float high;
    private Short speed;

    private BigDecimal amount;
    private BigInteger amount2;
    private Date timestamp;
    private LIKE like;
    private LocalDate birthday;
    private LocalDateTime birth;
    private LocalTime current;

    public enum LIKE {
        DOG, CAT, FISH, BIRD, FLY
    }
}
